<template>
  <section class="order">
    <HeaderTop title="订单列表"/>
    <section class="order_no_login">
      <img src="./images/order/person.png">
      <h3>登录后查看外卖订单</h3>
      <button @click="go('/login')">立即登陆</button>
    </section>
  </section>
</template>

<script>
  import HeaderTop from '../../components/Header/Header.vue'

  export default {
    methods:{
      go(path){
        this.$router.replace(path)
      }
    },
    components: {
      HeaderTop
    }
  }
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
  @import "../../common/stylus/minxins.styl"
  .order  //订单
    width 100%
    overflow hidden
    .header
      background-color #FF4700
      position fixed
      z-index 100
      left 0
      top 0
      width 100%
      height 1.688rem
      .header_search
        position absolute
        left .563rem
        top 50%
        transform translateY(-50%)
        width 10%
        height 50%
        .icon-sousuo
          font-size .938rem
          color #fff
      .header_title
        position absolute
        top 50%
        left 50%
        transform translate(-50%, -50%)
        width 50%
        color #fff
        text-align center
        .header_title_text
          font-size .75rem
          color #fff
          display block
      .header_login
        font-size .525rem
        color #fff
        position absolute
        right .563rem
        top 50%
        transform translateY(-50%)
        .header_login_text
          color #fff
    .order_no_login
      padding-top 5.25rem
      width 60%
      margin 0 auto
      text-align center
      >img
        display block
        width 100%
        height 30%
      >h3
        padding .375rem 0
        font-size .637rem
        color #6a6a6a
      >button
        display inline-block
        background #FF4700
        font-size .525rem
        color #fff
        border 0
        outline none
        border-radius .188rem
        padding .375rem .75rem
</style>
